﻿for(var i = 0; i < 92; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }

$axure.eventManager.pageLoad(
function (e) {

if (true) {

SetWidgetRichText('u16', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">1</span></p>');

SetWidgetRichText('u30', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">2</span></p>');

SetWidgetRichText('u20', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">Liquid Chlorophyll 2</span></p>');

SetWidgetRichText('u34', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">Mitisca</span></p>');

SetWidgetRichText('u22', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">50000</span></p>');

SetWidgetRichText('u36', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">87000</span></p>');

SetWidgetRichText('u26', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">105</span></p>');

SetWidgetRichText('u40', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">75</span></p>');

SetWidgetRichText('u28', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">12</span></p>');

SetWidgetRichText('u42', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">10</span></p>');

SetWidgetRichText('u18', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">SP001</span></p>');

SetWidgetRichText('u32', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">SP002</span></p>');

SetWidgetRichText('u24', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">15</span></p>');

SetWidgetRichText('u38', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">24</span></p>');

}

});

u86.style.cursor = 'pointer';
$axure.eventManager.click('u86', function(e) {

if (true) {

	SetPanelVisibility('u88','','none',500);

}
});
gv_vAlignTable['u16'] = 'center';gv_vAlignTable['u46'] = 'center';gv_vAlignTable['u6'] = 'center';gv_vAlignTable['u77'] = 'center';gv_vAlignTable['u38'] = 'center';gv_vAlignTable['u32'] = 'center';gv_vAlignTable['u62'] = 'top';
u87.style.cursor = 'pointer';
$axure.eventManager.click('u87', function(e) {

if (true) {

	self.location.href=$axure.globalVariableProvider.getLinkUrl('sp.html');

}
});
gv_vAlignTable['u4'] = 'center';gv_vAlignTable['u66'] = 'top';gv_vAlignTable['u30'] = 'center';gv_vAlignTable['u8'] = 'center';gv_vAlignTable['u34'] = 'center';gv_vAlignTable['u64'] = 'top';gv_vAlignTable['u81'] = 'center';gv_vAlignTable['u85'] = 'center';
u71.style.cursor = 'pointer';
$axure.eventManager.click('u71', function(e) {

if ((GetWidgetText('u70')) == ('')) {

}
});

$axure.eventManager.keyup('u71', function(e) {

if (true) {

SetGlobalVariableValue('TenSPthem2', GetWidgetText('u70'));

SetGlobalVariableValue('DGthem2', GetWidgetText('u71'));

SetGlobalVariableValue('CVthem2', GetWidgetText('u72'));

SetGlobalVariableValue('SLTonthem2', GetWidgetText('u73'));

}
});
gv_vAlignTable['u36'] = 'center';
u58.style.cursor = 'pointer';
$axure.eventManager.click('u58', function(e) {

if (true) {

	self.location.href='Home.html';

}
});
gv_vAlignTable['u2'] = 'center';gv_vAlignTable['u22'] = 'center';gv_vAlignTable['u52'] = 'center';gv_vAlignTable['u28'] = 'center';gv_vAlignTable['u68'] = 'top';gv_vAlignTable['u90'] = 'center';
$axure.eventManager.keyup('u73', function(e) {

if (true) {

SetGlobalVariableValue('TenSPthem2', GetWidgetText('u70'));

SetGlobalVariableValue('DGthem2', GetWidgetText('u71'));

SetGlobalVariableValue('CVthem2', GetWidgetText('u72'));

SetGlobalVariableValue('SLTonthem2', GetWidgetText('u73'));

}
});
gv_vAlignTable['u20'] = 'center';gv_vAlignTable['u50'] = 'center';gv_vAlignTable['u24'] = 'center';gv_vAlignTable['u54'] = 'center';
u78.style.cursor = 'pointer';
$axure.eventManager.click('u78', function(e) {

if (true) {

	self.location.href=$axure.globalVariableProvider.getLinkUrl('sp.html');

}
});
document.getElementById('u61_img').tabIndex = 0;

u61.style.cursor = 'pointer';
$axure.eventManager.click('u61', u61Click);
InsertAfterBegin(document.body, "<div class='intcases' id='u61LinksClick'></div>")
var u61LinksClick = document.getElementById('u61LinksClick');
function u61Click(e) 
{
windowEvent = e;


	ToggleLinks(e, 'u61LinksClick');
}

InsertBeforeEnd(u61LinksClick, "<div class='intcaselink' onmouseout='SuppressBubble(event)' onclick='u61Clickuf02ee6c0e2ed4db593e9d0bb4d9f084a(event)'>Sao,Lưu</div>");
function u61Clickuf02ee6c0e2ed4db593e9d0bb4d9f084a(e)
{

	ToggleLinks(e, 'u61LinksClick');
}

InsertBeforeEnd(u61LinksClick, "<div class='intcaselink' onmouseout='SuppressBubble(event)' onclick='u61Clickuf6f99147eddd4031aa3cb82b69f1a401(event)'>Phục Hồi</div>");
function u61Clickuf6f99147eddd4031aa3cb82b69f1a401(e)
{

	ToggleLinks(e, 'u61LinksClick');
}

u91.style.cursor = 'pointer';
$axure.eventManager.click('u91', function(e) {

if (true) {

	self.location.href=$axure.globalVariableProvider.getLinkUrl('sp.html');

}
});
gv_vAlignTable['u26'] = 'center';document.getElementById('u65_img').tabIndex = 0;

u65.style.cursor = 'pointer';
$axure.eventManager.click('u65', u65Click);
InsertAfterBegin(document.body, "<div class='intcases' id='u65LinksClick'></div>")
var u65LinksClick = document.getElementById('u65LinksClick');
function u65Click(e) 
{
windowEvent = e;


	ToggleLinks(e, 'u65LinksClick');
}

InsertBeforeEnd(u65LinksClick, "<div class='intcaselink' onmouseout='SuppressBubble(event)' onclick='u65Clicku24ff2be4862c4f81971597aa33b2b1c1(event)'>Báo Cáo Thu Chi</div>");
function u65Clicku24ff2be4862c4f81971597aa33b2b1c1(e)
{

	self.location.href=$axure.globalVariableProvider.getLinkUrl('bao_cao_thu_chi.html');

	ToggleLinks(e, 'u65LinksClick');
}

InsertBeforeEnd(u65LinksClick, "<div class='intcaselink' onmouseout='SuppressBubble(event)' onclick='u65Clickueaa28a4173fa47ed8871d71cee268f15(event)'>Thông Tin Khách Hàng</div>");
function u65Clickueaa28a4173fa47ed8871d71cee268f15(e)
{

	self.location.href=$axure.globalVariableProvider.getLinkUrl('ttkh.html');

	ToggleLinks(e, 'u65LinksClick');
}

InsertBeforeEnd(u65LinksClick, "<div class='intcaselink' onmouseout='SuppressBubble(event)' onclick='u65Clicku342a7508bc7946c99ac60189db38cbb1(event)'>Thông Tin Sản Phẩm</div>");
function u65Clicku342a7508bc7946c99ac60189db38cbb1(e)
{

	self.location.href=$axure.globalVariableProvider.getLinkUrl('sp.html');

	ToggleLinks(e, 'u65LinksClick');
}

InsertBeforeEnd(u65LinksClick, "<div class='intcaselink' onmouseout='SuppressBubble(event)' onclick='u65Clicku21e945f0d79a4cd3aaa0dd88ea1eab61(event)'>Thông Tin Nhân Viên</div>");
function u65Clicku21e945f0d79a4cd3aaa0dd88ea1eab61(e)
{

	self.location.href=$axure.globalVariableProvider.getLinkUrl('nv.html');

	ToggleLinks(e, 'u65LinksClick');
}

InsertBeforeEnd(u65LinksClick, "<div class='intcaselink' onmouseout='SuppressBubble(event)' onclick='u65Clickucb50cf6d204f4d67911a0a6378d8c101(event)'>Theo Dõi Nhập Hàng</div>");
function u65Clickucb50cf6d204f4d67911a0a6378d8c101(e)
{

	self.location.href=$axure.globalVariableProvider.getLinkUrl('theo_doi_NH.html');

	ToggleLinks(e, 'u65LinksClick');
}

InsertBeforeEnd(u65LinksClick, "<div class='intcaselink' onmouseout='SuppressBubble(event)' onclick='u65Clicku22c3c428dfef4dd791a842cd5c96f589(event)'>Theo Dõi Bán Hàng</div>");
function u65Clicku22c3c428dfef4dd791a842cd5c96f589(e)
{

	self.location.href=$axure.globalVariableProvider.getLinkUrl('theo_doi_BH.html');

	ToggleLinks(e, 'u65LinksClick');
}

InsertBeforeEnd(u65LinksClick, "<div class='intcaselink' onmouseout='SuppressBubble(event)' onclick='u65Clicku296c33dd5c8c47a59036b71301d33a26(event)'>Theo Dõi Đặt Hàng</div>");
function u65Clicku296c33dd5c8c47a59036b71301d33a26(e)
{

	self.location.href=$axure.globalVariableProvider.getLinkUrl('theo_doi_DH.html');

	ToggleLinks(e, 'u65LinksClick');
}
gv_vAlignTable['u56'] = 'center';
u82.style.cursor = 'pointer';
$axure.eventManager.click('u82', function(e) {

if (true) {

	SetPanelVisibility('u79','hidden','none',500);

}
});
gv_vAlignTable['u12'] = 'center';gv_vAlignTable['u42'] = 'center';
$axure.eventManager.keyup('u72', function(e) {

if (true) {

SetGlobalVariableValue('TenSPthem2', GetWidgetText('u70'));

SetGlobalVariableValue('DGthem2', GetWidgetText('u71'));

SetGlobalVariableValue('CVthem2', GetWidgetText('u72'));

SetGlobalVariableValue('SLTonthem2', GetWidgetText('u73'));

}
});
document.getElementById('u63_img').tabIndex = 0;

u63.style.cursor = 'pointer';
$axure.eventManager.click('u63', u63Click);
InsertAfterBegin(document.body, "<div class='intcases' id='u63LinksClick'></div>")
var u63LinksClick = document.getElementById('u63LinksClick');
function u63Click(e) 
{
windowEvent = e;


	ToggleLinks(e, 'u63LinksClick');
}

InsertBeforeEnd(u63LinksClick, "<div class='intcaselink' onmouseout='SuppressBubble(event)' onclick='u63Clicku78353c52367845b3a57f62c35bb0c5ac(event)'>Bán Hàng</div>");
function u63Clicku78353c52367845b3a57f62c35bb0c5ac(e)
{

	self.location.href=$axure.globalVariableProvider.getLinkUrl('banhang.html');

	ToggleLinks(e, 'u63LinksClick');
}

InsertBeforeEnd(u63LinksClick, "<div class='intcaselink' onmouseout='SuppressBubble(event)' onclick='u63Clicku534a46dc62d24458a87c6323a8bff70a(event)'>Nhập Hàng</div>");
function u63Clicku534a46dc62d24458a87c6323a8bff70a(e)
{

	self.location.href=$axure.globalVariableProvider.getLinkUrl('nhaphang.html');

	ToggleLinks(e, 'u63LinksClick');
}

InsertBeforeEnd(u63LinksClick, "<div class='intcaselink' onmouseout='SuppressBubble(event)' onclick='u63Clicku73e425975d104705a8b73b871b734c2f(event)'>Đặt Hàng</div>");
function u63Clicku73e425975d104705a8b73b871b734c2f(e)
{

	self.location.href=$axure.globalVariableProvider.getLinkUrl('dathang.html');

	ToggleLinks(e, 'u63LinksClick');
}

InsertBeforeEnd(u63LinksClick, "<div class='intcaselink' onmouseout='SuppressBubble(event)' onclick='u63Clicku5dd0fa54715146298f3bad464d11f2c2(event)'>Tra cứu khách hàng</div>");
function u63Clicku5dd0fa54715146298f3bad464d11f2c2(e)
{

	self.location.href=$axure.globalVariableProvider.getLinkUrl('tracuukh.html');

	ToggleLinks(e, 'u63LinksClick');
}
gv_vAlignTable['u18'] = 'center';gv_vAlignTable['u48'] = 'center';gv_vAlignTable['u67'] = 'top';gv_vAlignTable['u57'] = 'top';gv_vAlignTable['u10'] = 'center';gv_vAlignTable['u40'] = 'center';
$axure.eventManager.keyup('u70', function(e) {

if (true) {

SetGlobalVariableValue('TenSPthem2', GetWidgetText('u70'));

SetGlobalVariableValue('DGthem2', GetWidgetText('u71'));

SetGlobalVariableValue('CVthem2', GetWidgetText('u72'));

SetGlobalVariableValue('SLTonthem2', GetWidgetText('u73'));

}
});
gv_vAlignTable['u14'] = 'center';gv_vAlignTable['u44'] = 'center';
u74.style.cursor = 'pointer';
$axure.eventManager.click('u74', function(e) {

if ((GetWidgetText('u43')) == ('')) {

SetWidgetRichText('u44', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">3</span></p>');

SetWidgetRichText('u46', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">SP003</span></p>');

SetWidgetRichText('u54', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">0</span></p>');

	var obj1 = document.getElementById("u70");
    obj1.disabled = false;

	var obj1 = document.getElementById("u71");
    obj1.disabled = false;

	var obj1 = document.getElementById("u72");
    obj1.disabled = false;

	var obj1 = document.getElementById("u73");
    obj1.disabled = false;

}
else
if (true) {

	SetPanelVisibility('u75','','none',500);

}
else
if (((GetWidgetText('u47')) == ('')) && (((GetWidgetText('u49')) == ('')) && (((GetWidgetText('u51')) == ('')) && (((GetWidgetText('u55')) == ('')) && (((GetWidgetText('u43')) == ('3')) && ((GetWidgetText('u45')) == ('SP003'))))))) {

	SetPanelVisibility('u79','','none',500);

}
else
if ((GetWidgetText('u47')) == ('')) {

	SetPanelVisibility('u79','','none',500);

}
else
if ((GetWidgetText('u49')) == ('')) {

	SetPanelVisibility('u79','','none',500);

}
else
if ((GetWidgetText('u51')) == ('')) {

	SetPanelVisibility('u79','','none',500);

}
else
if ((GetWidgetText('u55')) == ('')) {

	SetPanelVisibility('u79','','none',500);

}
});
